package com.cabinet.web.entity;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.Table;

import com.cabinet.base.entity.IdEntity;

/**
 * 用户权限列表
 * @author hqz
 *
 */

@Entity
@Table(name="ict_user_role")
public class UserRole extends IdEntity  implements Serializable{
	private static final long serialVersionUID = -6784232147869593459L;
	/**普通用户**/
	public static final int ictDomesticConsumer = 1;
	/**经营者**/
	public static final int ictSeller = 2;
	/**快递员**/
	public static final int ictCourier = 3;
	/**补货员**/
	public static final int ictReplenishment = 4;
	
	
	private Long userid;
	
	/**
	 * 用户权限：1普通用户-2经营者-3快递员-4补货员
	 */
	@SuppressWarnings("unused")
	private Integer roleName;

	public Long getUserid() {
		return userid;
	}

	public void setUserid(Long userid) {
		this.userid = userid;
	}
	
	
}
